package com.chengjj.kings.modular.system.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 文件信息表

 * </p>
 *
 * @author chengJJ
 * @since 2019-03-13
 */
@TableName("sys_file_info")
public class FileInfo extends Model<FileInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId("FILE_ID")
	private String fileId;
    /**
     * base64编码的文件
     */
	@TableField("FILE_DATA")
	private String fileData;
    /**
     * 创建时间
     */
	@TableField("CREATE_TIME")
	private Date createTime;
    /**
     * 修改时间
     */
	@TableField("UPDATE_TIME")
	private Date updateTime;
    /**
     * 创建用户
     */
	@TableField("CREATE_USER")
	private Long createUser;
    /**
     * 修改用户
     */
	@TableField("UPDATE_USER")
	private Long updateUser;


	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public String getFileData() {
		return fileData;
	}

	public void setFileData(String fileData) {
		this.fileData = fileData;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getCreateUser() {
		return createUser;
	}

	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}

	public Long getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(Long updateUser) {
		this.updateUser = updateUser;
	}

	@Override
	protected Serializable pkVal() {
		return this.fileId;
	}

}
